const axios = require('axios')

const instance01 = axios.create({
  baseURL: 'http://localhost:3000'
})

instance01('/posts').then(res => {
  console.log(res.data);
})